package com.shujia.wyh.day10;

/*
    public StringBuffer replace(int start,int end,String str)

 */
public class StringBufferDemo4 {
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer("王宇杰真的很帅！");

        sb.replace(0,3,"杨志");

        System.out.println(sb);
    }
}
